<?xml version="1.0" encoding="utf-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

	<div id='cadastraritem-form'>
		<div class='inside'>
			<h:form>
				<p:outputLabel value="Multiple:" />
				<p:autoComplete multiple="true"
					value="#{autoCompleteBean.selectedItems}"
					completeMethod="#{autoCompleteBean.completeItem}" var="it"
					itemLabel="#{it}" itemValue="#{it}" forceSelection="true">
					<p:ajax event="itemSelect" />
					<p:ajax event="itemUnselect" />
					<p:column>
						<h:outputText value="#{it}" />
					</p:column>
				</p:autoComplete>
			</h:form>
		</div>
	</div>
</ui:composition>









